package com.boboPlanet.comm.enums;

/**
 * @Description: TODO 项目公共配置字段 请求头/方法,白名单key等
 * @Author: mis_wu
 * @Date: 2023/2/13
 * todo:注意：字段值在后端项目中保持一致,前端取值/存值时也要一致
 **/
public interface GatewayConstance {

    String REQUEST_HEADER_TOKEN = "Token";

    String AUTH = "Authorization";

    String SERVER_PORT = "serverPort";

    String ALLOW_PASS_PATH_KEY = "gateway_allow_pass_path_list";

    String POST_REQUEST = "POST";

    String GET_REQUEST = "GET";

    String PUT_REQUEST = "PUT";

    /**
     * 全局日志追踪id，要与其他服务保持一致
     */
    String TRANCE_ID_KEY = "trace_id";

    /**
     * 用于网关校验，是否通过下一个过滤器
     */
    String ALLOW_FILTER = "allow";
}
